import { createApp } from "vue";
import App from "./App.vue";
import Antd from 'ant-design-vue';
import Title from "./components/Title.vue";
import 'ant-design-vue/dist/antd.css';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
import './main.css';
import store from "./store";
import { routes } from "./router/router";
import { createRouter, createWebHashHistory } from "vue-router";

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

const app = createApp(App);
app.use(Antd);
app.use(ElementPlus);
app.use(store);
app.use(router);
app.mount("#app");
const title = createApp(Title);
title.use(Antd);
title.use(ElementPlus);
title.mount('#title');
